import request from '@/utils/request'

// 查询钱包流水列表
export function listWalletLog(query) {
  return request({
    url: '/member/walletLog/list',
    method: 'get',
    params: query
  })
}

// 查询钱包流水详细
export function getWalletLog(memberWalletLogId) {
  return request({
    url: '/member/walletLog/' + memberWalletLogId,
    method: 'get'
  })
}

// 新增钱包流水
export function addWalletLog(data) {
  return request({
    url: '/member/walletLog',
    method: 'post',
    data: data
  })
}

// 导出钱包流水
export function exportWalletLog(query) {
  return request({
    url: '/member/walletLog/export',
    method: 'get',
    params: query
  })
}
